package com.weds.edpf.core .service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.List;

import com.weds.core.base.BaseService;
import com.weds.edpf.core.mapper .LinkDevchangeLogMapper;
import com.weds.edpf.core.entity .LinkDevchangeLogEntity;

/**
 * @Author sxm
 * @Description LinkDevchangeLog管理
 * @Date 2020-06-15
 */
@Service
public class LinkDevchangeLogService extends BaseService {

	@Autowired
	private LinkDevchangeLogMapper linkDevchangeLogMapper;

	private Logger log = LogManager.getLogger();


	public int insert(LinkDevchangeLogEntity record) {
		return linkDevchangeLogMapper.insert(record);
	}

	public int insertSelective(LinkDevchangeLogEntity record) {
		return linkDevchangeLogMapper.insertSelective(record);
	}

    	public List<LinkDevchangeLogEntity> selectListByEntity(LinkDevchangeLogEntity record) {
		return linkDevchangeLogMapper.selectListByEntity(record);
	}
	
	

        public int deleteBatchByKeys(List<LinkDevchangeLogEntity> list) {
        return linkDevchangeLogMapper.deleteBatchByKeys(list);
    }
    
    	public int insertBatch(List<LinkDevchangeLogEntity> list) {
		return linkDevchangeLogMapper.insertBatch(list);
	}
	}
